package adminapilogic

import (
	"code.bydev.io/cht/customer/kyc_admin_service/internal/app/serv"
	"context"

	v1 "code.bydev.io/cht/customer/kyc-stub.git/pkg/bybit/kyc/admin/v1"
	"code.bydev.io/cht/customer/kyc_admin_service/service/private/internal/svc"
)

type AdminAPIGetKycImageLogic struct {
	svcCtx *svc.ServiceContext
}

func NewAdminAPIGetKycImageLogic(svcCtx *svc.ServiceContext) *AdminAPIGetKycImageLogic {
	return &AdminAPIGetKycImageLogic{
		svcCtx: svcCtx,
	}
}

// 获取用户kyc图片信息
func (l *AdminAPIGetKycImageLogic) GetKycImage(ctx context.Context, in *v1.GetKycImageReq) (*v1.GetKycImageResp, error) {
	return serv.NewService(l.svcCtx.NothingEnv).GetKycImage(ctx, in)
}
